package py.una.pol.ii.is2.dao.sistema;

import java.util.List;
import javax.ejb.Local;
import py.una.pol.ii.is2.domain.sistema.Rol;

/**
 * Define la interfaz RolDAO
 * @author mbenitez
 * @date 30/04/2009
 */
@Local
public interface RolDAO {
    public boolean insert(Rol objeto) throws Exception;
    public boolean update(Rol objeto) throws Exception;
    public boolean delete(Rol objeto) throws Exception;
    public Rol find(Integer codObjeto) throws Exception;
    public List<Rol> getListaRoles(String condicion) throws Exception;
}
